<table>
    <tr>
        <th>Name</th>
    <tr></tr>
    <%  for user in @users %>
    <tr>
        <td><%=user.name%></td>
        <td><%= link_to 'Edit', {:action => 'edit_user', :user => user }, :method => :post %></td>
        <td><%= link_to 'Delete', { :action => 'destroy_user', :user => user }, :confirm => 'Are you sure?', :method => :post %></td>
    </tr>
    <% end %>
</table>
